#### +--
##    ATClab - scriptable Air Traffic Control simulations.
##    Copyright (C) 2010 openatclab@gmail.com
##
##    This program is free software: you can redistribute it and/or modify
##    it under the terms of the GNU General Public License as published by
##    the Free Software Foundation, either version 3 of the License, or
##    (at your option) any later version.
##
##    This program is distributed in the hope that it will be useful,
##    but WITHOUT ANY WARRANTY; without even the implied warranty of
##    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
##    GNU General Public License for more details.
##
##    You should have received a copy of the GNU General Public License
##    along with this program.  If not, see <http://www.gnu.org/licenses/>.
#### +--


LANGUAGE = C++

QT += qt3support


##
## --- Build Directories ---
##

win32:Debug {
	DESTDIR		= Debug
	UI_DIR		= Debug/uic
	MOC_DIR		= Debug/moc
	OBJECTS_DIR	= Debug/obj
} 

win32:Release {
	DESTDIR		= Release
	UI_DIR		= Release/uic
	MOC_DIR		= Release/moc
	OBJECTS_DIR	= Release/obj
} 


##
## --- XERCESC ---
##

INCLUDEPATH += $(XERCESCROOT)/include

win32 {
	Debug:		LIBS += $(XERCESCROOT)/lib/xerces-c_3d.lib
	Release:	LIBS += $(XERCESCROOT)/lib/xerces-c_3.lib
}


##
## --- ATC-Lab Src ---
##

INCLUDEPATH += src


##
## --- ATC-Lab Presentation Package ---
##

INCLUDEPATH += src/pact
# VPATH       += src/pact

HEADERS += src/pact/display_task.h
HEADERS += src/pact/experiment.h
HEADERS += src/pact/global.h
HEADERS += src/pact/inputtask.h
HEADERS += src/pact/instructiontask.h
HEADERS += src/pact/nodehandler.h
HEADERS += src/pact/presenter.h
HEADERS += src/pact/task.h
HEADERS += src/pact/taskfactory.h
HEADERS += src/pact/taskwidget.h
HEADERS += src/pact/translator.h
HEADERS += src/pact/trialtask.h
HEADERS += src/pact/uicomponent.h
HEADERS += src/pact/uicomponentbuilder.h
HEADERS += src/pact/feedback_task.h

SOURCES += src/pact/display_task.cpp
SOURCES += src/pact/experiment.cpp
SOURCES += src/pact/global.cpp
SOURCES += src/pact/inputtask.cpp
SOURCES += src/pact/instructiontask.cpp
SOURCES += src/pact/nodehandler.cpp
SOURCES += src/pact/pact.cpp
SOURCES += src/pact/presenter.cpp
SOURCES += src/pact/task.cpp
SOURCES += src/pact/taskfactory.cpp
SOURCES += src/pact/taskwidget.cpp
SOURCES += src/pact/translator.cpp
SOURCES += src/pact/trialtask.cpp
SOURCES += src/pact/uicomponent.cpp
SOURCES += src/pact/uicomponentbuilder.cpp
SOURCES += src/pact/feedback_task.cpp

##
## --- XML parser ---
##

INCLUDEPATH += src/parser
# VPATH       += src/parser

HEADERS += src/parser/document.h
HEADERS += src/parser/xmlhandler.h
HEADERS += src/parser/xmlreader.h
HEADERS += src/parser/xmlstring.h

SOURCES += src/parser/document.cpp
SOURCES += src/parser/xmlhandler.cpp
SOURCES += src/parser/xmlreader.cpp


##
## --- ATC Engine ---
##

INCLUDEPATH += src/engine
# VPATH       += src/engine

HEADERS += src/engine/acsprite.h
HEADERS += src/engine/actools.h
HEADERS += src/engine/aircraft_agent.h
HEADERS += src/engine/aircraft_data.h
HEADERS += src/engine/aircraftparam.h
HEADERS += src/engine/aircraftsprite.h
HEADERS += src/engine/airspace.h
HEADERS += src/engine/area_definition.h
HEADERS += src/engine/atc.h
HEADERS += src/engine/atc_types.h
HEADERS += src/engine/audio_player.h
HEADERS += src/engine/canvas.h
HEADERS += src/engine/canvas_action.h
HEADERS += src/engine/canvas_infoblock.h
HEADERS += src/engine/canvas_tools.h
HEADERS += src/engine/canvas_types.h
HEADERS += src/engine/canvasview.h
HEADERS += src/engine/clock.h
HEADERS += src/engine/conflictdeclaration.h
HEADERS += src/engine/engine.h
HEADERS += src/engine/engine_builder.h
HEADERS += src/engine/engine_impl.h
HEADERS += src/engine/intersectionpoint.h
HEADERS += src/engine/lab_engine.h
HEADERS += src/engine/listbox.h
HEADERS += src/engine/map.h
HEADERS += src/engine/map_impl.h
HEADERS += src/engine/param.h
HEADERS += src/engine/param_impl.h
HEADERS += src/engine/routearcsprite.h
HEADERS += src/engine/routesprite.h
HEADERS += src/engine/scale.h
HEADERS += src/engine/score.h
HEADERS += src/engine/sectorarcsprite.h
HEADERS += src/engine/sectorsprite.h
HEADERS += src/engine/sky.h
HEADERS += src/engine/sky_impl.h
HEADERS += src/engine/transformation.h
HEADERS += src/engine/waypointsprite.h

SOURCES += src/engine/acsprite.cpp
SOURCES += src/engine/actools.cpp
SOURCES += src/engine/aircraft_agent.cpp
SOURCES += src/engine/aircraft_data.cpp
SOURCES += src/engine/aircraftsprite.cpp
SOURCES += src/engine/airspace.cpp
SOURCES += src/engine/area_definition.cpp
SOURCES += src/engine/audio_player.cpp
SOURCES += src/engine/canvas.cpp
SOURCES += src/engine/canvas_action.cpp
SOURCES += src/engine/canvas_infoblock.cpp
SOURCES += src/engine/canvas_tools.cpp
SOURCES += src/engine/canvasview.cpp
SOURCES += src/engine/clock.cpp
SOURCES += src/engine/conflictdeclaration.cpp
SOURCES += src/engine/engine_builder.cpp
SOURCES += src/engine/engine_factory.cpp
SOURCES += src/engine/engine_impl.cpp
SOURCES += src/engine/intersectionpoint.cpp
SOURCES += src/engine/lab_engine.cpp
SOURCES += src/engine/listbox.cpp
SOURCES += src/engine/map_impl.cpp
SOURCES += src/engine/param_impl.cpp
SOURCES += src/engine/routearcsprite.cpp
SOURCES += src/engine/routesprite.cpp
SOURCES += src/engine/scale.cpp
SOURCES += src/engine/score.cpp
SOURCES += src/engine/sectorarcsprite.cpp
SOURCES += src/engine/sectorsprite.cpp
SOURCES += src/engine/sky_impl.cpp
SOURCES += src/engine/transformation.cpp
SOURCES += src/engine/waypointsprite.cpp


##
## --- ATC Logging ---
##

INCLUDEPATH += src/logging
# VPATH       += src/logging

HEADERS += src/logging/logger.h
SOURCES += src/logging/logger.cpp


##
## --- ATC Performance ---
##

INCLUDEPATH += src/performance
# VPATH       += src/performance

HEADERS += src/performance/atmosphere.h
HEADERS += src/performance/builder.h
HEADERS += src/performance/data.h
HEADERS += src/performance/exception.h
HEADERS += src/performance/factory.h
HEADERS += src/performance/parser.h
HEADERS += src/performance/performance.h
HEADERS += src/performance/writer.h

SOURCES += src/performance/atmosphere.cpp
SOURCES += src/performance/builder.cpp
SOURCES += src/performance/data.cpp
SOURCES += src/performance/factory.cpp
SOURCES += src/performance/parser.cpp
SOURCES += src/performance/performance.cpp
SOURCES += src/performance/writer.cpp


##
## --- Plugin ---
##

INCLUDEPATH += src/plugin
# VPATH       += src/plugin

HEADERS += src/plugin/ParallelPortIO.h
SOURCES += src/plugin/ParallelPortIO.cpp
#The following line was inserted by qt3to4
QT +=  
